package cn.zwx.common.rocket.consumer.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Administrator
 */
@Data
@NoArgsConstructor
public class ConsumerListenerBO {

    private String messageBody;

    private String msgId;

    private String msgKey;


    private String topic;

    private String tag;

    public ConsumerListenerBO(String messageBody, String msgId, String msgKey, String topic, String tag) {
        this.messageBody = messageBody;
        this.msgId = msgId;
        this.msgKey = msgKey;
        this.topic = topic;
        this.tag = tag;
    }
}
